package com.victualler.product.employee.dto;

import com.victualler.product.employee.entity.EmployeeDao;
import com.victualler.product.employee.entity.EmployeeItemDao;

import java.io.Serializable;
import java.util.List;

/**
 * @author Guoshichang
 * @since 11:26 on 2018/10/3.
 * @Function 组合对象的存储
 */
public class EmployeeInfoDto  implements Serializable {
    //主信息
    private EmployeeDao employeeDao;
    //联系方式
    private List<EmployeeItemDao> itemDetailDaoList ;

    public EmployeeInfoDto() {
    }

    public EmployeeInfoDto(EmployeeDao employeeDao, List<EmployeeItemDao> itemDetailDaoList) {
        this.employeeDao = employeeDao;
        this.itemDetailDaoList = itemDetailDaoList;
    }

    public EmployeeDao getEmployeeDao() {
        return employeeDao;
    }

    public void setEmployeeDao(EmployeeDao employeeDao) {
        this.employeeDao = employeeDao;
    }

    public List<EmployeeItemDao> getItemDetailDaoList() {
        return itemDetailDaoList;
    }

    public void setItemDetailDaoList(List<EmployeeItemDao> itemDetailDaoList) {
        this.itemDetailDaoList = itemDetailDaoList;
    }

}
